package com.jiuzhi.proprietor.service;

import com.jiuzhi.proprietor.domain.Employee;
import com.jiuzhi.proprietor.mapper.EmployeeMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by tdk on 17/9/2.
 */
public class EmployeeService {

    @Autowired
    EmployeeMapper employeeMapper;

    public List<Employee> getEmployeeList(){
        return employeeMapper.selectAll();
    }

}
